<div class="attached_image">
  <p>
    <%= link_to image_tag( attachment.public_filename(:thumb) ),
            attachment.public_filename %>
    <span class="meta"><%= attachment.content_type %>:</span>
    <span class="description"><%= attachment.description %></span>
    </span><br />
    <span class="download">
      Click to view <%= link_to attachment.filename,
                            attachment.public_filename %>
      (<%= number_to_human_size attachment.size %>)
    </span>
  </p>
</div>
